<%@ page contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@page import="javax.servlet.jsp.PageContext" %>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>FurErp 用户登录</title>
        <%
            pageContext.setAttribute("baseURL", request.getContextPath());
        %>
        <script src="${baseURL}/js/furerp/login/login.js"></script>
    </head>
    <body>
        <input id="baseURL" type="hidden" value="${baseURL}"/>
        <div><span>FurErp v0.0.1</span></div>
        <table>
            <tr>
                <td colspan="2">用户登录</td>
            </tr>
            <tr>
                <td>用户名</td>
                <td><input type="text" id="username" size="15"/></td>
            </tr>
            <tr>
                <td>密&nbsp&nbsp码</td>
                <td><input type="password" id="password" size="15"/></td>
            </tr>
            <tr>
                <td colspan="2">
                    <button type="button" name="submit" onclick="login()">登录</button>
                </td>
            </tr>
        </table>
        <span id="message">${excep.message }</span><br>
    </body>
</html>